package com.github.nacostwo.service;

import java.util.List;
import com.github.nacostwo.entity.EsBook;
import org.springframework.data.domain.Page;


public interface EsBookService {

    public void delete(String id);

    public EsBook create(String id);

    public Page<EsBook> search(String name, Integer pageNum, Integer pageSize);

    public List<EsBook> searchAll();
}

